import Vue from "vue";
import VueRouter from "vue-router";
// Vue.use(VueRouter);
import ShouYe from "@/views/ShouYe.vue";
import DinDan from "@/views/DinDan.vue";
import FenLei from "@/views/FenLei.vue";
import MyIs from "@/views/MyIs.vue";
Vue.use(VueRouter);
const router = new VueRouter({
  routes: [
    { path: "/", redirect: "/shouye" },
    { path: "/shouye", component: ShouYe },
    { path: "/dindan", component: DinDan },
    { path: "/fenlei", component: FenLei },
    { path: "/myis", component: MyIs },
  ],
});
export default router;
